/* Copyright 2012 Dustin Mitchell <dmmitche [at] gmail [dot] com>
 *
 * Licensed under the GPLv3.  See included LICENSE.txt for full details.
 */

#include "beaglebot_sensors.h"
#include "bone_hw_modules.h"

union sensor_def BEAGLEBOT_SENSOR_DEFS[BEAGLEBOT_NUM_SENSORS] = {
  {
    .gps = {
      .type = SENSOR_GPS,
      .hw_uart = &BONE_UART_MODULES[BONE_UART_UART2],
      .baud = 9600
    }
  },
  /* Used to wake up the sensor manager service to check for important
   * messages, such as to quit. */
  {
    .wake_up = {
      .type = SENSOR_WAKE_UP,
      .period_ms = 500
    }
  }
};
